package com.ww.dao;

import com.ww.entity.Trolley;

import java.util.List;
import java.util.Map;

public interface TrolleyDao extends BaseDao<Trolley> {

    public List<Map<String, Object>> getUserAndGoods(Object id);

    public int updateTrolley(String id,int number);

    public Trolley isRepeat(String user_id,String goods_id);

    public int deletaT(String user_id,String goods_id);

    public int remove(String id);

    public Map<String, Object> find(String id);
}
